<?php   // $Id: del_pdf.php 8 2007-08-25 11:07:18Z pcoustillas $ ?>
<?php   

require_once("include/verif.php");

$dir = fpdf ;
    $t=time();
    $h=opendir($dir);
    while($file=readdir($h))
    {
        if( substr($file,-4)=='.pdf')
        {
            $path=$dir.'/'.$file;	
            if($t-filemtime($path)>3)
                @unlink($path);
        }
    }
    closedir($h);
 ?> 
